package com.onesports.intelligent.k12.polarlight.domain.vo.sys;

import com.onesports.intelligent.k12.polarlight.domain.vo.common.AuthTreeVO;
import com.onesports.intelligent.k12.polarlight.domain.entity.sys.Role;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 学校端账号VO
 * @author Wsy
 **/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SchAccountVO {

    @ApiModelProperty("账号id")
    private String id;

    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty("姓名")
    private String username;

    @ApiModelProperty("所属部门-角色")
    private String role;

    @ApiModelProperty("用户类型")
    private Integer userType;

    @ApiModelProperty("角色集合")
    private List<Role> roles;

    @ApiModelProperty("关联班级")
    private String relativeClass;

    @ApiModelProperty("关联年级班级list")
    private List<AuthTreeVO> grades;

    @ApiModelProperty("状态0 关闭  1 开启")
    private Integer status;
}
